package com.chengyu.core.mapper;

import com.chengyu.core.model.TyQuote;
import com.chengyu.core.model.TyQuoteExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TyQuoteMapper {
    long countByExample(TyQuoteExample example);

    int deleteByExample(TyQuoteExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TyQuote record);

    int insertSelective(TyQuote record);

    List<TyQuote> selectByExample(TyQuoteExample example);

    TyQuote selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TyQuote record, @Param("example") TyQuoteExample example);

    int updateByExample(@Param("record") TyQuote record, @Param("example") TyQuoteExample example);

    int updateByPrimaryKeySelective(TyQuote record);

    int updateByPrimaryKey(TyQuote record);
}